<?php echo $this->Html->addCrumb('Services', '/services');?>
<div class="row">
  <div class="span4">
    <h2>Services</h2>
    <?php
       if(isset( $servicesMain['Content']['info'])) {
         echo nl2br($servicesMain['Content']['info']);
       }
    ?>
  </div>
  <div class="span4">
    <?php $service = null;
    if (!empty($services) && !empty($services[0]) && !empty($services[0]['Service']) ) {
      $service = $services[0]['Service'];
    ?>
    <h3><?php echo $service['name'];?></h3>
    <?php echo nl2br($service['introduction']);?>
    <?php if (!empty($service['detail'])) { ?>
    <p><br/><?php echo $this->Html->link("Read more",array("controller"=>"services", "action"=>"details",$service['url']), array("class"=>'btn',"title"=>"Read more")); ?></p>
    <?php } } ?>
  </div>

  <ul class="thumbnails">
    <li class="span4">
      <?php if(!empty($service['image_path'])) {
        echo $this->Html->image($service['image_path'], array('alt' => $service['name'], 'title'=>$service['name']));
      } ?>
    </li>
  </ul>
</div>

<div class="row">

  <div class="span4">
    <ul class="thumbnails">
      <li class="span2">
        <?php echo $this->Html->image('food/service3.jpg', array('alt' => 'Food', 'title' => 'Food')) ?>
      </li>
      <li class="span2">
        <?php echo $this->Html->image('food/service4.jpg', array('alt' => 'Food', 'title' => 'Food')) ?>
      </li>
    </ul>
    <ul class="thumbnails">
      <li class="span4">
        <?php echo $this->Html->image('food/service1.jpg', array('alt' => 'Food', 'title' => 'Food')) ?>
      </li>
    </ul>
  </div>

    <div class="span4">
      <?php $service = null;
      if (!empty($services) && !empty($services[1]) && !empty($services[1]['Service']) ) {
        $service = $services[1]['Service'];
      ?>
      <h3><?php echo $service['name'];?></h3>
      <?php echo nl2br($service['introduction']);?>
      <?php if (!empty($service['detail'])) { ?>
      <p><br/><?php echo $this->Html->link("Read more",array("controller"=>"services", "action"=>"details",$service['url']), array("class"=>'btn',"title"=>"Read more")); ?></p>
      <?php }} ?>
    </div>

    <ul class="thumbnails">
      <li class="span4">
        <?php if(!empty($service['image_path'])) {
          echo $this->Html->image($service['image_path'], array('alt' => $service['name'], 'title'=>$service['name']));
        } ?>
      </li>
    </ul>

  </div>

  <div class="row">
  <div class="offset4 span4">
    <?php $service = null;
    if (!empty($services) && !empty($services[2]) && !empty($services[2]['Service']) ) {
      $service = $services[2]['Service'];
    ?>
    <h3><?php echo $service['name'];?></h3>
    <?php echo nl2br($service['introduction']);?>
    <?php if (!empty($service['detail'])) { ?>
    <p><br/><?php echo $this->Html->link("Read more",array("controller"=>"services", "action"=>"details",$service['url']), array("class"=>'btn',"title"=>"Read more")); ?></p>
    <?php } } ?>
  </div>

  <ul class="thumbnails">
    <li class="span4">
      <?php if(!empty($service['image_path'])) {
        echo $this->Html->image($service['image_path'], array('alt' => $service['name'], 'title'=>$service['name']));
      } ?>
    </li>
  </ul>
</div>

<div class="row">
  <div class="span4 offset4">
    <h3>Katerserv Limited Airport Services</h3>
    <?php echo $this->Html->image('katerserv_logo.png', array('alt' => 'Katerserv Limited Airport Services', 'title' => 'Katerserv Limited Airport Services')); ?>
  </div>
  <div class="span4">
    <h3>Allied Energy Services</h3>
    <?php echo $this->Html->image('allied_energy_logo.png', array('alt' => 'Allied Energy Services', 'title' => 'Allied Energy Services')); ?>
  </div>

</div>